package com.htl.proxy.Static__Proxy.test;

import com.htl.proxy.Static__Proxy.entity.Huawei;
import com.htl.proxy.Static__Proxy.entity.Phone;
import com.htl.proxy.Static__Proxy.entity.Xiaomi;

// 非代理的情况
public class No_Proxy_test {
    public static void main(String[] args) {
        Phone phone1 = new Huawei();
        System.out.println(phone1.salePhone());

        Phone phone2 = new Xiaomi();
        System.out.println(phone2.salePhone());

    }
}
